<?php
    $PageBuilder = new NaturalExtension_PageBuilder();
?>

<div id="natext" class="wrap">
    <div class="page-builder">
        <div class="icon32 main-icon"></div>
        <h2>Natural Extension: Page Builder</h2>

        <br>
        <p>Choose a service group below. Pages and Menu items will be created dynamically.</p>

        <?php $PageBuilder->generate_tab_group(); ?>

        <form action="<?php echo admin_url('admin-ajax.php'); ?>" method="post" class="main-form">
            <?php $PageBuilder->generate_service_table(); ?>

            <br>
            <br>

            <?php $PageBuilder->generate_hidden_elements(); ?>

            <input type="submit" value="Build Pages &amp; Menus" class="button-primary build-button">
        </form>
    </div>
</div>